package io.renren.modules.generator.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author Xiaotianyu
 * @email 805007911@qq.com
 * @date 2021-10-13 15:25:03
 */
@Data
@TableName("tb_movie_recommend")
public class TbMovieRecommendEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Integer id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 电影id
	 */
	private Integer movieId;
	/**
	 * 推荐分数
	 */
	private Double recommendScore;
	/**
	 * 推荐类型(0 默认，1 类型，2 演员 ，3年份 4,根据观影记录)
	 */
	private String type;
	/**
	 * 记录创建时间
	 */
	private Date createTime;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getMovieId() {
		return movieId;
	}
	public void setMovieId(Integer movieId) {
		this.movieId = movieId;
	}
	public Double getRecommendScore() {
		return recommendScore;
	}
	public void setRecommendScore(Double recommendScore) {
		this.recommendScore = recommendScore;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
